package com.yeyks.common.appcommon.param.platform;

import com.yeyks.common.appcommon.param.CommonPageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author: dagny
 * @date: 2019/10/25 0025 15:22
 */
@ApiModel(description = "查询会员卡的输入参数")
@Data
public class QueryMinMemberCardParam extends CommonPageParam implements Serializable {

    @ApiModelProperty("有效token")
    @NotBlank(message = "有效token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty(value = "售卡商Id, 如果传参，则查询该运营商的会员卡")
    private String salerId;

    @ApiModelProperty(value = "卡号", name = "cardNo", dataType = "String", required = false)
    private String cardNo;

    @ApiModelProperty(value = "电话号码", name = "phone", dataType = "String", required = false)
    private String phone;

    @ApiModelProperty(value = "状态", name = "status", dataType = "Integer", required = false)
    private Integer status;

    @ApiModelProperty(value = "关联酒店名称")
    private String hotelName;


}
